package com.kayak.distribute.client.schedule.mapper;

import com.kayak.distribute.client.schedule.bean.TaskBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName TaskBeanMapper
 * @Dsecription TODO
 * @Auth tinxi
 * @DATAE 2019/3/25 11:23
 */
public interface TaskBeanMapper {

    TaskBean get(Long id);
    
    List<TaskBean> list();
    
    List<TaskBean> listTaskVoByDesc(@Param("desc") String desc);
    
    int save(TaskBean task);
    
    int update(TaskBean task);
    
    int remove(Long id);
    
    int removeBatch(Long[] ids);
}
